@Test public void testContinuousToString() { ResourceId resource = Resources.continuous(D1, P1, Bandwidth.class).id(); assertThat( resource.toString(), is(Arrays.asList(D1, P1, Bandwidth.class.getSimpleName()).toString())); }
@Test public void testDiscreteToString() { ResourceId resource = Resources.discrete(D1, P1).id(); assertThat(resource.toString(), is(Arrays.asList(D1, P1).toString())); }