@Test
public void validateClassNameWithFailures() {

    when( view.getSelectedClassName() ).thenReturn( "" );
    addGlobalPopup.onClassNameSelectChanged();
    verify( view,
            times( 1 ) ).showClassNameValidationError();
}