@Test
public void shouldAddConditionUsingNameValue() {

	Filter filter = new Filter();
	filter.condition("testKey", "testValue");
	assertEquals(filter.getConditions().size(), 1);
	assertEquals(filter.getConditions().get(0).getName(), "testKey");
	assertEquals(filter.getConditions().get(0).getValue(), "testValue");
}