Last active
January 23, 2020 06:33
-
-
Save mitrejcevski/380433c58d9688d877db6137952b5fc6 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
@Test | |
fun find_users_by_id() { | |
val userId = UUID.randomUUID() | |
val john = aUser().withUserId(userId).build() | |
val usersCatalog = InMemoryUsersCatalogIncluding(john) | |
val userFound = usersCatalog.findByUserId(userId) | |
assertEquals(john, userFound) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment