@Test
public void testCheckAttributeSemantics() throws Exception {

	System.out.println("testCheckAttributeSemantics()");
	Attribute attributeToCheck = new Attribute();
	attributeToCheck.setValue("/mnt/mnt1");
	when(session.getPerunBl().getUsersManagerBl().getAllowedResources(any(PerunSession.class), any(Facility.class), any(User.class))).thenReturn(new ArrayList<Resource>() {
		{
			add(resource);
		}
	});
	when(session.getPerunBl().getFacilitiesManagerBl().getAssignedResources(any(PerunSession.class), any(Facility.class))).thenReturn(new ArrayList<Resource>() {
		{
			add(resource);
		}
	});
	when(session.getPerunBl().getAttributesManagerBl().getAttribute(any(PerunSession.class), any(Resource.class), anyString())).thenReturn(listOfMntPts);
	classInstance.checkAttributeSemantics(session, user, facility, attributeToCheck);
}