### Question:
ObjectFieldActions implements AtlasFieldAction { @AtlasActionProcessor public static Boolean equals(Equals equals, Object input) { if (equals == null) { throw new IllegalArgumentException("Equals action must be specified"); } if (input == null) { return equals.getValue() == null; } return input.toString().equals(equals.getValue()); }  @AtlasActionProcessor static Integer count(Count action, List<Object> inputs); @AtlasActionProcessor static Boolean contains(Contains contains, List<Object> inputs); @AtlasActionProcessor static Boolean equals(Equals equals, Object input); @AtlasActionProcessor static Boolean isNull(IsNull action, Object input); @AtlasActionProcessor static Object itemAt(ItemAt itemAt, List<Object> inputs); @AtlasActionProcessor static Integer length(Length length, Object input);  }### Answer:
@Test public void testEquals() { Equals action = new Equals(); assertTrue(ObjectFieldActions.equals(action, null)); action.setValue("6"); assertFalse(ObjectFieldActions.equals(action, 169)); action.setValue("169"); assertTrue(ObjectFieldActions.equals(action, 169)); action.setValue("ru"); assertFalse(ObjectFieldActions.equals(action, true)); action.setValue("true"); assertTrue(ObjectFieldActions.equals(action, true)); action.setValue("b"); assertFalse(ObjectFieldActions.equals(action, 'a')); action.setValue("a"); assertTrue(ObjectFieldActions.equals(action, 'a')); }
@Test(expected=IllegalArgumentException.class) public void testEqualsWithNullAction() { ObjectFieldActions.equals(null, ""); }