@Test
public void testAssignAttributeValueForEnrollment()
    throws IOException
{

    TrackerBundleParams bundleParams = createBundleFromJson( "tracker/enrollment.json" );
    TrackerBundle trackerBundle = trackerBundleService.create( bundleParams );
    trackerBundle = trackerBundleService.runRuleEngine( trackerBundle );
    TrackerBundle updatedBundle = implementerToTest.executeActions( trackerBundle );
    Enrollment enrollment = updatedBundle.getEnrollments().get( 0 );
    assertNotNull( enrollment );
    Attribute attribute = trackerBundle.getTrackedEntities().get( 0 ).getAttributes().stream()
        .filter( a -> a.getAttribute().equals( "sYn3tkL3XKa" ) ).findAny().get();
    assertEquals( TEI_ATTRIBUTE_NEW_VALUE, attribute.getValue() );
}