@Test
public void should_return_true_when_the_property_value_matches() throws Exception {

    ConstantPropertyValuePredicate predicate = new ConstantPropertyValuePredicate("bar");
    assertThat(predicate.apply(aComponent()
            .withPropertyValue("foo", "constant", "bar")
            .build())).isTrue();
}