### Question:
BooleanValuePairEditor implements BooleanValuePairEditorView.Presenter,
        ValuePairEditor<Boolean> { @Override public void init( AnnotationValuePairDefinition valuePairDefinition ) { this.valuePairDefinition = valuePairDefinition; view.setValuePairLabel( ValuePairEditorUtil.buildValuePairLabel( valuePairDefinition ) ); view.showValuePairRequiredIndicator( !valuePairDefinition.hasDefaultValue() ); } BooleanValuePairEditor();  BooleanValuePairEditor( BooleanValuePairEditorView view ); @Override Widget asWidget(); @Override void init( AnnotationValuePairDefinition valuePairDefinition ); @Override void setValue( Boolean value ); @Override Boolean getValue( ); @Override boolean isValid(); @Override void clear(); @Override void addEditorHandler( ValuePairEditorHandler editorHandler ); @Override AnnotationValuePairDefinition getValuePairDefinition(); @Override void setErrorMessage( String errorMessage ); @Override void clearErrorMessage(); @Override void showValidateButton( boolean show ); @Override void showValuePairName( boolean show ); @Override void refresh(); @Override void onValueChange();  }### Answer:
@Test public void testEditorLoad() { BooleanValuePairEditor booleanEditor = new BooleanValuePairEditor( view ); AnnotationValuePairDefinition valuePairDefinition = annotationDefinition.getValuePair( "booleanParam1" ); booleanEditor.init( valuePairDefinition ); verify( view, times( 1 ) ).initOptions( options ); verify( view, times( 1 ) ).setValuePairLabel( valuePairDefinition.getName() ); verify( view, times( 1 ) ).showValuePairRequiredIndicator( false ); }