예제 #1
0
 /**
  * Asserts that all FlowFiles that were transferred were transferred to the given relationship and
  * that the number of FlowFiles transferred is equal to <code>count</code>
  *
  * @param relationship to validate
  * @param count number of items sent to that relationship (expected)
  */
 public void assertAllFlowFilesTransferred(final String relationship, final int count) {
   assertAllFlowFilesTransferred(new Relationship.Builder().name(relationship).build(), count);
 }
 @Override
 public void assertAllFlowFilesTransferred(final Relationship relationship) {
   for (final MockProcessSession session : sessionFactory.getCreatedSessions()) {
     session.assertAllFlowFilesTransferred(relationship);
   }
 }
예제 #3
0
 /**
  * Asserts that all FlowFiles that were transferred were transferred to the given relationship and
  * that the number of FlowFiles transferred is equal to <code>count</code>
  *
  * @param relationship to validate
  * @param count number of items sent to that relationship (expected)
  */
 public void assertAllFlowFilesTransferred(final Relationship relationship, final int count) {
   assertAllFlowFilesTransferred(relationship);
   assertTransferCount(relationship, count);
 }