use of com.thecoderscorner.menu.domain.BooleanMenuItem in project tcMenu by davetcc.
the class UIBooleanMenuItemTest method captureTheLatestBoolean.
private BooleanMenuItem captureTheLatestBoolean() {
ArgumentCaptor<MenuItem> captor = ArgumentCaptor.forClass(MenuItem.class);
Mockito.verify(mockedConsumer, Mockito.atLeastOnce()).accept(any(), captor.capture());
BooleanMenuItem boolItem = (BooleanMenuItem) captor.getValue();
return boolItem;
}
Aggregations