### Question:
StatementOptionImpl extends RelationalChildRestrictedObject implements StatementOption { @Override public void setOption( final UnitOfWork transaction, final String newOption ) throws KException { ArgCheck.isNotEmpty( newOption, "newOption" ); setObjectProperty( transaction, "setOption", StandardDdlLexicon.VALUE, newOption ); if ( StringUtils.isBlank( newOption ) ) { remove( transaction ); } } StatementOptionImpl( final UnitOfWork transaction,
                                final Repository repository,
                                final String workspacePath ); @Override InputStream getBinaryValue(UnitOfWork uow); @Override boolean getBooleanValue( final UnitOfWork transaction ); @Override boolean[] getBooleanValues( final UnitOfWork transaction ); @Override Calendar getDateValue( final UnitOfWork transaction ); @Override Calendar[] getDateValues( final UnitOfWork transaction ); @Override BigDecimal getDecimalValue( final UnitOfWork transaction ); @Override BigDecimal[] getDecimalValues( final UnitOfWork transaction ); @Override PropertyDescriptor getDescriptor( final UnitOfWork transaction ); @Override double getDoubleValue( final UnitOfWork transaction ); @Override double[] getDoubleValues( final UnitOfWork transaction ); @Override long getLongValue( final UnitOfWork transaction ); @Override long[] getLongValues( final UnitOfWork transaction ); @Override String getOption( final UnitOfWork uow ); @Override String getStringValue( final UnitOfWork transaction ); @Override String[] getStringValues( final UnitOfWork transaction ); @Override KomodoType getTypeIdentifier( final UnitOfWork transaction ); @Override String getValue( final UnitOfWork transaction ); @Override Object[] getValues( final UnitOfWork transaction ); @Override PropertyValueType getValueType( final UnitOfWork transaction ); @Override boolean isMultiple( final UnitOfWork transaction ); @Override void set( final UnitOfWork transaction,
                     final Object... values ); @Override void setOption( final UnitOfWork transaction,
                           final String newOption );  }### Answer:
@Test( expected = IllegalArgumentException.class ) public void shouldNotAllowEmptyOptionValueProperty() throws Exception { this.option.setOption( getTransaction(), StringConstants.EMPTY_STRING ); }
@Test( expected = IllegalArgumentException.class ) public void shouldNotAllowNullOptionValueProperty() throws Exception { this.option.setOption( getTransaction(), null ); }