@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(expected = IllegalArgumentException.class) public void testInitWithNonClassInstance() { Resources.continuous(D1, P1, BW1).id(); }