@Test public void getService() { CodeSample sample = new CodeSample("ID", "Service"); assertEquals(sample.getServiceName(), "Service"); }
public String getServiceName() { return serviceName; }
CodeSample { public String getServiceName() { return serviceName; } }
CodeSample { public String getServiceName() { return serviceName; } CodeSample(final String sampleId, final String serviceName); }
CodeSample { public String getServiceName() { return serviceName; } CodeSample(final String sampleId, final String serviceName); String getId(); String getServiceName(); String getTitle(); String getDescription(); String getFormattedCode(); void setTitle(final String title); void setDescription(final String description); void appendLine(final String line); }
CodeSample { public String getServiceName() { return serviceName; } CodeSample(final String sampleId, final String serviceName); String getId(); String getServiceName(); String getTitle(); String getDescription(); String getFormattedCode(); void setTitle(final String title); void setDescription(final String description); void appendLine(final String line);  }