@Test
public void testScope() {

  ResourceOptions ro = new ResourceOptions();
  try {
    ro.scope(null);
    fail();
  } catch (Exception ignored) {
  }
  assertEquals("foo", ro.scope("foo").scope());
}