Created
July 16, 2020 13:39
-
-
Save mucahitkurt/049687d438c08700380a185c1f722c1f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class OrderTest() { | |
//… | |
@Test | |
fun `Should be cancelled if the order is unpaid`() { | |
val order = Order(OrderSpecification()) | |
//…make the order unpaid… | |
order.cancel() | |
Assertions.assertTrue(order.isCancelled()) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment