@Test public void testToStringRepresentation() { assertThat(createReference().toString()).isEqualTo("Model with type \"java.lang.Object\" from bundle with id 123"); }
@Override public String toString() { return "Model with type " + '"' + this.modelClass.getName() + '"' + " from bundle with id " + this.bundleId; }
OsgiModelReference { @Override public String toString() { return "Model with type " + '"' + this.modelClass.getName() + '"' + " from bundle with id " + this.bundleId; } }
OsgiModelReference { @Override public String toString() { return "Model with type " + '"' + this.modelClass.getName() + '"' + " from bundle with id " + this.bundleId; } OsgiModelReference(T model, long bundleId); }
OsgiModelReference { @Override public String toString() { return "Model with type " + '"' + this.modelClass.getName() + '"' + " from bundle with id " + this.bundleId; } OsgiModelReference(T model, long bundleId); T getModel(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); }
OsgiModelReference { @Override public String toString() { return "Model with type " + '"' + this.modelClass.getName() + '"' + " from bundle with id " + this.bundleId; } OsgiModelReference(T model, long bundleId); T getModel(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }