// Path: src/main/java/tenhouvisualizer/domain/task/DownloadYearTask.java
// @NotNull
// static String getFileNameWithExtension(String path) {
//     return path.substring(path.lastIndexOf('/') + 1);
// }


import org.junit.Test;
import static org.junit.Assert.*;
import static tenhouvisualizer.domain.task.DownloadYearTask.getFileNameWithExtension;
package tenhouvisualizer.domain.task;



public class DownloadYearTaskTest {
    @Test
    public void getFileNameTest01() throws Exception {
        String path = "aaa/bbb.html";
// Path: src/main/java/tenhouvisualizer/domain/task/DownloadYearTask.java
// @NotNull
// static String getFileNameWithExtension(String path) {
//     return path.substring(path.lastIndexOf('/') + 1);
// }


// Path: src/test/java/tenhouvisualizer/domain/task/DownloadYearTaskTest.java
import org.junit.Test;
import static org.junit.Assert.*;
import static tenhouvisualizer.domain.task.DownloadYearTask.getFileNameWithExtension;

package tenhouvisualizer.domain.task;



public class DownloadYearTaskTest {
    @Test
    public void getFileNameTest01() throws Exception {
        String path = "aaa/bbb.html";
        assertEquals("bbb.html", getFileNameWithExtension(path));