SanStorage extends HarddriveStorage { public double getBandwidth() { return bandwidth; } SanStorage(final long capacity, final double bandwidth, final double networkLatency);  SanStorage(final String name, final long capacity, final double bandwidth, final double networkLatency); @Override double addReservedFile(final File file); @Override double addFile(final File file); @Override double getTransferTime(final int fileSize); @Override double deleteFile(final File file); double getBandwidth(); final void setBandwidth(final double bandwidth); double getNetworkLatency(); final void setNetworkLatency(final double networkLatency); @Override String toString();  }
@Test public void testGetBandwidth() { final double bandwidth = BANDWIDTH; final SanStorage instance = createSanStorage(bandwidth); assertEquals(bandwidth, instance.getBandwidth()); }