@Test
public void testSemanticsCorrect() throws Exception {

	System.out.println("testSemanticsCorrect()");
	Resource resource = new Resource();
	List<Resource> list = new ArrayList<>();
	list.add(resource);
	when(sess.getPerunBl().getResourcesManagerBl().getResourcesByAttribute(any(PerunSessionImpl.class), any(Attribute.class))).thenReturn(list);
	when(sess.getPerunBl().getUsersManagerBl().getAllowedResources(sess, facility, user)).thenReturn(list);
	classInstance.checkAttributeSemantics(sess, user, facility, attributeToCheck);
}