Ejemplo n.º 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 Relationship relationship, final int count) {
   assertAllFlowFilesTransferred(relationship);
   assertTransferCount(relationship, count);
 }
Ejemplo n.º 2
0
 /**
  * Assert that the number of FlowFiles transferred to the given relationship is equal to the given
  * count
  *
  * @param relationship to validate transfer count of
  * @param count items transfer to given relationship
  */
 public void assertTransferCount(final String relationship, final int count) {
   assertTransferCount(new Relationship.Builder().name(relationship).build(), count);
 }