Skip to content

Commit

Permalink
Add failing test for #1
Browse files Browse the repository at this point in the history
  • Loading branch information
bugix committed Apr 12, 2023
1 parent 325647e commit 58ec657
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.context.ApplicationContext;

import static org.junit.jupiter.api.Assertions.assertNotEquals;
import static org.junit.jupiter.api.Assertions.assertTrue;

@Slf4j
Expand Down Expand Up @@ -38,4 +39,10 @@ void happyTest() {
assertTrue(true);
}

@Test
void testGuitar() {
var guitar = applicationContext.getBean(Guitar.class);
assertNotEquals("huuuuuummmmmmmmmmmmmmm", guitar.generate(1));
}

}

0 comments on commit 58ec657

Please sign in to comment.