String source = "Test.java";
CompilableClassGuard stringClassGuard = new CompilableClassGuard(0, "");
List<CompilableGuard> guards = new ArrayList<CompilableGuard>();
guards.add(stringClassGuard);
Guard testGuard = compile(guards);
assertTrue("string is ok", testGuard.apply(new Object[]{"test", 1}));
assertFalse("integer is not ok", testGuard.apply(new Object[]{1, "test"}));
}