@Test
public void readScopeTest() throws IOException {

    when(parser.readScope(reader)).thenCallRealMethod();
    when(reader.nextString()).thenReturn("APP", "GOOGLE", "skip");
    assertEquals(PlaceScope.APP, parser.readScope(reader));
    assertEquals(PlaceScope.GOOGLE, parser.readScope(reader));
    assertNull(parser.readScope(reader));
}