@Test
public void validateExecutableResource() throws Exception {

    ResourceModel exeRes = createResourceModel(Type.EXECUTABLE, null);
    assertFalse(exeRes.isValid(new byte[1]));
    assertFalse(exeRes.isValid(1));
    assertFalse(exeRes.isValid("1"));
}