/** * 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); }
@Override public void assertAllFlowFilesTransferred(final Relationship relationship) { for (final MockProcessSession session : sessionFactory.getCreatedSessions()) { session.assertAllFlowFilesTransferred(relationship); } }
@Override public void assertAllFlowFilesTransferred(final String relationship) { for (final MockProcessSession session : sessionFactory.getCreatedSessions()) { session.assertAllFlowFilesTransferred(relationship); } }
/** * Asserts that all FlowFiles that were transferred were transferred to the * given relationship * * @param relationship to check for transferred flow files */ public void assertAllFlowFilesTransferred(final String relationship) { assertAllFlowFilesTransferred(new Relationship.Builder().name(relationship).build()); }
/** * 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); } }
/** * 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); }
@Override public void assertAllFlowFilesTransferred(final String relationship) { for (final MockProcessSession session : sessionFactory.getCreatedSessions()) { session.assertAllFlowFilesTransferred(relationship); } }
/** * 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); }
/** * Asserts that all FlowFiles that were transferred were transferred to the * given relationship * * @param relationship to check for transferred flow files */ public void assertAllFlowFilesTransferred(final String relationship) { assertAllFlowFilesTransferred(new Relationship.Builder().name(relationship).build()); }