MBooleanInput extends MInput<Boolean> { @Override public MInputType getType() { return MInputType.BOOLEAN; } MBooleanInput(String name, boolean sensitive, InputEditable editable, String overrides); @Override String getUrlSafeValueString(); @Override void restoreFromUrlSafeValueString(String valueString); @Override MInputType getType(); @Override boolean equals(Object other); @Override int hashCode(); @Override boolean isEmpty(); @Override void setEmpty(); @Override Object clone(boolean cloneWithValue);  }
@Test public void testInitialization() { MBooleanInput input = new MBooleanInput("sqoopsqoop", true, InputEditable.ANY, StringUtils.EMPTY); assertEquals("sqoopsqoop", input.getName()); assertEquals(true, input.isSensitive()); assertEquals(MInputType.BOOLEAN, input.getType()); }