lumifyApi.logout();
}
public void assertUser2DoesNotHaveAccessToUser1sWorkspace() throws ApiException {
LumifyApi lumifyApi = login(USERNAME_TEST_USER_2);
addUserAuth(lumifyApi, USERNAME_TEST_USER_2, "auth1");
user2Id = lumifyApi.getCurrentUserId();
lumifyApi.setWorkspaceId(workspaceId);
try {
lumifyApi.getVertexApi().getByVertexId(artifactVertexId);
assertTrue("should have failed", false);
} catch (ApiException ex) {
// expected
}
lumifyApi.logout();
}