@Test
public void get() {

    Resources mockResources = mock(Resources.class);
    doAnswer(new Answer<String>() {
        public String answer(InvocationOnMock invocation) throws Throwable {
            //return the first argument!
            return String.valueOf(invocation.getArguments()[0]);
        }
    }).when(mockResources).getString(anyInt());
    doReturn(mockResources).when(mockContext).getResources();
    final Property p = Property.MAP_PROVIDER_SCHEMA;
    assertEquals(String.valueOf(p.getResourceId()), toTest.getPropertyValue(p));
}