W1Master { public Collection<W1DeviceType> getDeviceTypes() { return deviceTypes; } W1Master();  W1Master(final ClassLoader classloader);  W1Master(final String masterDir);  W1Master(final String masterDir, final ClassLoader classloader); void checkDeviceChanges(); Collection<W1DeviceType> getDeviceTypes(); Map<String, W1DeviceType> getDeviceTypeMap(); List<String> getDeviceIDs(); List<W1Device> getDevices(); @SuppressWarnings("unchecked") List<T> getDevices(final int deviceFamilyId); @SuppressWarnings("unchecked") List<T> getDevices(final Class<T> type); @SuppressWarnings("unchecked") List<T> getW1Devices(final Class<T> type); @Override String toString();  }
@Test public void shouldAtLeastContainADummyDevice() { final Collection<W1DeviceType> deviceTypes = master.getDeviceTypes(); assertTrue("there should be at least one device", deviceTypes.size() >= 1); }