@Test public void
shouldReturnOwsConstraints()
{

    final Set<Constraint> constraints = new HashSet<Constraint>(2);
    final Constraint c1 = new Constraint("constraint-1", "value-1-1","value-1-2");
    final Constraint c2 = new Constraint("constraint-2", "value-2-1","value-2-2");
    constraints.add(c1);
    constraints.add(c2);
    final RequestMethodSeam seam = new RequestMethodSeam(null, constraints);
    assertThat(seam.getOwsConstraints(), hasSize(2));
    assertThat(seam.getOwsConstraints(), is(hasItem(c1)));
    assertThat(seam.getOwsConstraints(), is(hasItem(c2)));
}