@SuppressWarnings("serial")
@Test
public void fillAttribute() throws Exception {

	System.out.println("fillAttribute()");
	//tento objekt ocekavame, ze se nam vrati po zavolani fillAttribute()
	final Attribute attrToReturn = new Attribute();
	final String shellName = "mujShell";
	attrToReturn.setValue(new ArrayList<String>(){{add(shellName);}});
	//a tady si nastavime pozadovane chovani
	when(ps.getPerunBl().getAttributesManagerBl().getAttribute(any(PerunSession.class), any(Resource.class), anyString())).thenReturn(attrToReturn);
	// ideal scenario
	final Attribute result= defShellAttr.fillAttribute(ps, new Resource(), new AttributeDefinition());
	assertEquals("fillAttribute spatne vyplnil value",shellName, result.getValue());
}