@Test
public void testIsNotDirectory() throws IOException{
Type type = new Type();
addArgument(type, "d");
type.initialise(new FindOptions());
when(mockFstat.isDirectory()).thenReturn(false);
PathData item = new PathData("/one/two/test", conf);
assertEquals(Result.FAIL, type.apply(item));