Skip to content

Commit

Permalink
Address feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
jianghaolu committed Sep 16, 2016
1 parent 9144fa4 commit aed1b0b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,11 @@ public ServicePrincipal refresh() {

@Override
public Observable<ServicePrincipal> createResourceAsync() {
throw new UnsupportedOperationException("Will be implemented in a next release");
throw new UnsupportedOperationException("not implemented yet");
}

@Override
public Observable<ServicePrincipal> applyAsync() {
throw new UnsupportedOperationException("Will be implemented in a next release");
throw new UnsupportedOperationException("not implemented yet");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,11 @@ public User refresh() {

@Override
public Observable<User> createResourceAsync() {
throw new UnsupportedOperationException("Will be implemented in a next release");
throw new UnsupportedOperationException("not implemented yet");
}

@Override
public Observable<User> applyAsync() {
throw new UnsupportedOperationException("Will be implemented in a next release");
throw new UnsupportedOperationException("not implemented yet");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,13 @@ public void canCRUDUser() throws Exception {
//LIST
List<User> userList = graphRbacManager.users().list();
Assert.assertNotNull(userList);
User user = graphRbacManager.users().define("[email protected]")
User user = graphRbacManager.users().define("newuser")
.withDisplayName("Test User 309")
.withPassword("Pa$$w0rd")
.withMailNickname(null)
.create();
Assert.assertNotNull(user);
Assert.assertEquals("Test User 309", user.displayName());
Assert.assertEquals("[email protected]", user.mail());
}

}

0 comments on commit aed1b0b

Please sign in to comment.