@Test public void toIntShouldReturnedDesiredPort() { int expectedPort = 452; assertThat(new FixedPortSupplier(expectedPort).get().getValue()).isEqualTo(expectedPort); }
@Override public Port get() { return port; }
FixedPortSupplier implements PortSupplier { @Override public Port get() { return port; } }
FixedPortSupplier implements PortSupplier { @Override public Port get() { return port; } FixedPortSupplier(int port); }
FixedPortSupplier implements PortSupplier { @Override public Port get() { return port; } FixedPortSupplier(int port); @Override Port get(); @Override final boolean equals(Object o); @Override final int hashCode(); }
FixedPortSupplier implements PortSupplier { @Override public Port get() { return port; } FixedPortSupplier(int port); @Override Port get(); @Override final boolean equals(Object o); @Override final int hashCode();  }