Last active
December 10, 2015 22:18
-
-
Save sebastienblanc/4501764 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
public void testCreate() throws Exception { | |
AeroGearUser user = buildUser("john") ; | |
identityManagement.create(user); | |
User user1 = new SimpleUser("john"); | |
when(identityManager.getUser(("john"))).thenReturn(user1); | |
user1 = identityManager.getUser("john"); | |
assertNotNull(user1); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment