@Test public void testIsNotYearsOrMonthsInput() { final Object object = mock(Object.class); final boolean actual = view.isYearsOrMonthsInput(object); assertFalse(actual); }
boolean isYearsOrMonthsInput(final Object object) { return yearInput == object || monthInput == object; }
YearsMonthsSelectorView implements YearsMonthsSelector.View { boolean isYearsOrMonthsInput(final Object object) { return yearInput == object || monthInput == object; } }
YearsMonthsSelectorView implements YearsMonthsSelector.View { boolean isYearsOrMonthsInput(final Object object) { return yearInput == object || monthInput == object; } @Inject  YearsMonthsSelectorView(final HTMLInputElement yearInput,
                                   final HTMLInputElement monthInput); }
YearsMonthsSelectorView implements YearsMonthsSelector.View { boolean isYearsOrMonthsInput(final Object object) { return yearInput == object || monthInput == object; } @Inject  YearsMonthsSelectorView(final HTMLInputElement yearInput,
                                   final HTMLInputElement monthInput); @Override void init(final YearsMonthsSelectorView presenter); @Override YearsMonthsValue getValue(); @Override void setValue(final YearsMonthsValue value); @Override void setPlaceHolder(final String placeholder); @EventHandler("years-input") void onYearsInputBlur(final BlurEvent blurEvent); @EventHandler("months-input") void onMonthsInputBlur(final BlurEvent blurEvent); @Override void onValueChanged(final Consumer<Event> onValueChanged); @Override void onValueInputBlur(final Consumer<BlurEvent> blurEvent); @Override void select(); }
YearsMonthsSelectorView implements YearsMonthsSelector.View { boolean isYearsOrMonthsInput(final Object object) { return yearInput == object || monthInput == object; } @Inject  YearsMonthsSelectorView(final HTMLInputElement yearInput,
                                   final HTMLInputElement monthInput); @Override void init(final YearsMonthsSelectorView presenter); @Override YearsMonthsValue getValue(); @Override void setValue(final YearsMonthsValue value); @Override void setPlaceHolder(final String placeholder); @EventHandler("years-input") void onYearsInputBlur(final BlurEvent blurEvent); @EventHandler("months-input") void onMonthsInputBlur(final BlurEvent blurEvent); @Override void onValueChanged(final Consumer<Event> onValueChanged); @Override void onValueInputBlur(final Consumer<BlurEvent> blurEvent); @Override void select();  }