PoliciesResourceType { public static ResourceKey thingResource(final CharSequence resourcePath) { return PoliciesModelFactory.newResourceKey(THING, resourcePath); } private  PoliciesResourceType(); static ResourceKey policyResource(final CharSequence resourcePath); static ResourceKey thingResource(final CharSequence resourcePath); static ResourceKey messageResource(final CharSequence resourcePath); static final String POLICY; static final String THING; static final String MESSAGE; }
@Test public void thingResourceReturnsExpected() { final ResourceKey expected = createExpectedResourceKey(PoliciesResourceType.THING); final ResourceKey actual = PoliciesResourceType.thingResource(RESOURCE_PATH); assertThat(actual).isEqualTo(expected); }