@SuppressWarnings("unchecked")
@Test
public void testGetProperty() {

    Request request = createMock(Request.class);
    Map<String, Object> oneScope = createMock(Map.class);
    expect(request.getContext("one")).andReturn(oneScope);
    replay(request);
    assertEquals(oneScope, accessor.getProperty(null, request, "oneScope"));
    assertNull(accessor.getProperty(null, request, "whatever"));
    verify(request);
}