Permalink
Browse files

タスクがとれる

  • Loading branch information...
irof committed Mar 5, 2018
1 parent fc0a040 commit ea9119befc863dd3c0448fe6ffe8bfd729ce67b0
@@ -0,0 +1,9 @@
package application;
import domain.Tasks;
public class TodoService {
public Tasks todos() {
return new Tasks();
}
}
@@ -0,0 +1,4 @@
package domain;
public class Tasks {
}
@@ -0,0 +1,16 @@
package application;
import domain.Tasks;
import org.junit.jupiter.api.Test;
import static org.assertj.core.api.Assertions.assertThat;
class TodoServiceTest {
@Test
void やることがとれる() {
TodoService sut = new TodoService();
Tasks actual = sut.todos();
assertThat(actual).isNotNull();
}
}

0 comments on commit ea9119b

Please sign in to comment.