@Test
	public void testValues() {

		Scenarios scenarios = Dingo.scenarios("com/zavazoo/dingo/example/values");

		while (scenarios.more()) {

			Scenario scenario = scenarios.next();

			List<Object> expected = scenario.result.list();

			Map<String, Object> map = scenario.criteria[0].map();

			List<Object> actual = Component.values(map);

			assertThat(actual, containsInAnyOrder(expected.toArray()));

		}

	}