Skip to content

Commit

Permalink
task-micro-sample
Browse files Browse the repository at this point in the history
  • Loading branch information
yacekmm committed Aug 25, 2024
1 parent 101c74e commit a2d5427
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,16 @@
import static com.bottega.promoter.concert.domain.Title.from;
import static com.bottega.promoter.concert.fixtures.TitleAssert.assertThatTitle;
import static org.apache.commons.lang3.StringUtils.repeat;
import static org.assertj.core.api.Assertions.assertThat;

class Title_fromString_microTest extends ConcertLogicTestBase {

//TODO tests

@Test
public void fromString_OK_onValidString(){
//expect
//TODO tests
assertThat(from("This is a valid title for a concert").get().getValue()).isEqualTo("This is a valid title for a concert");
}

}

0 comments on commit a2d5427

Please sign in to comment.