@Test
public void testFilterPublishedExcludeInactive() {

	WorkflowDefinitionActivePredicate predicate =
		new WorkflowDefinitionActivePredicate(
			WorkflowConstants.STATUS_APPROVED);
	WorkflowDefinition workflowDefinition = new WorkflowDefinitionImpl(
		false);
	boolean result = predicate.test(workflowDefinition);
	Assert.assertFalse(result);
}