@Test
public void verifyNoMandatoryCheckHasNoErrors()
{

    programStageA.setValidationStrategy( ValidationStrategy.ON_COMPLETE );
    event.setProgramStage( "prgstg1" );
    DataElement de1 = addToDataElementMap( createDataElement( 'A' ) );
    DataElement de2 = addToDataElementMap( createDataElement( 'B' ) );
    DataValue dv1 = createDataValue( de1.getUid(), "1" );
    DataValue dv2 = createDataValue( de2.getUid(), "2" );
    event.setDataValues( Sets.newHashSet( dv1, dv2 ) );
    assertNoError( rule.check( new ImmutableEvent( event ), this.workContext ) );
}