assertEquals("Invalid string value when specifying two selectors but second does not exists", "selector1", getProperties().getString("property-with-filter", Filter.by("selector1", "non-existent-selector"), "defaultvalue")); assertEquals("Invalid string value when specifying two inexistent selectors but default value in file", "no-selector", getProperties().getString("property-with-filter", Filter.by("non-existent-selector", "non-existent-selector"), "defaultvalue")); assertEquals("Invalid string value when specifying two inexistent selectors", "defaultvalue", getProperties().getString("property-with-filter2", Filter.by("non-existent-selector", "non-existent-selector"), "defaultvalue"));
    public void testFilterWithDefault() {        assertEquals("Invalid string value when specifying two selectors", "selector1-and-selector2", 					 getProperties().getString("property-with-filter", Filter.by("selector1", "selector2"), "defaultvalue"));        assertEquals("Invalid long value when specifying two selectors", 1234, 				 	  getProperties().getLong("long-with-filter", Filter.by("selector1", "selector2"), 0l));        assertEquals("Invalid short value when specifying two selectors", 1234, 			 	  getProperties().getShort("short-with-filter", Filter.by("selector1", "selector2"), (short)0));        assertEquals("Invalid int value when specifying two selectors", 1234, 			 	  getProperties().getInt("int-with-filter", Filter.by("selector1", "selector2"), 0));        assertEquals("Invalid byte value when specifying two selectors", 123, 			 	  getProperties().getByte("byte-with-filter", Filter.by("selector1", "selector2"), (byte)0));        assertEquals("Invalid BigInteger value when specifying two selectors", new BigInteger("1234"), 			 	  getProperties().getBigInteger("biginteger-with-filter", 			 	          Filter.by("selector1", "selector2"), new BigInteger("0")));        assertEquals("Invalid BigDecimal value when specifying two selectors", new BigDecimal(1234), 			 	  getProperties().getBigDecimal("bigdecimal-with-filter", 			 	          Filter.by("selector1", "selector2"), new BigDecimal(0d)));        assertEquals("Invalid double value when specifying two selectors", 1234d, 			 	  getProperties().getDouble("double-with-filter", Filter.by("selector1", "selector2"), 0), 0);        assertEquals("Invalid float value when specifying two selectors", 1234f, 			 	  getProperties().getFloat("float-with-filter", Filter.by("selector1", "selector2"), 0), 0);        assertEquals("Invalid boolean value when specifying two selectors", false, 			 	  getProperties().getBoolean("boolean-with-filter", Filter.by("selector1", "selector2"), true));        assertEquals("Invalid list value when specifying two selectors", Arrays.asList(new String[] {"1234","5678"}), 			 	  getProperties().getList("list-with-filter", Filter.by("selector1", "selector2"), null));        assertEquals("Invalid string array value when specifying two selectors", new String[] {"1234","5678"}, 			 	  getProperties().getStringArray("list-with-filter", Filter.by("selector1", "selector2"), null));    }