@Test
public void testAssignment() {

    List<ResourcePoolAssignment> result = resolver.resolve(newJob("myResourcePool"));
    assertThat(result).hasSize(1);
    assertThat(result.get(0).getResourcePoolName()).isEqualTo("myResourcePool");
}