use of io.crnk.security.model.Project in project crnk-framework by crnk-project.
the class SecurityModuleIntTest method unauthorizedException.
@Test(expected = UnauthorizedException.class)
public void unauthorizedException() {
identityManager.addUser("otherUser", "doePass", "allRole");
Project project = new Project();
project.setId(1L);
project.setName("test");
projectRepo.create(project);
}