### Question:
MonitorLabelPrefixSpecification implements MonitorSpecification { public boolean isSatisfiedBy(Monitor monitor) { return monitor.getLabel().toLowerCase().startsWith(firstPartOfLabel); } MonitorLabelPrefixSpecification(String firstPartOfLabel); boolean isSatisfiedBy(Monitor monitor);  }### Answer:
@Test public void shouldBeSatisfiedWhenMonitorStartWithLabelOfSpecification() { specification = new MonitorLabelPrefixSpecification("t"); assertThat(specification.isSatisfiedBy(new TestMonitor("test1")), is(true)); assertThat(specification.isSatisfiedBy(new TestMonitor("Test1")), is(true)); assertThat(specification.isSatisfiedBy(new TestMonitor("monitor")), is(false)); }