@Test
public void messageShouldBeFixedWhenBuildIsFixed() throws CruiseControlException {

    TestTwitterProxy proxy = new TestTwitterProxy();
    TwitterPublisher twitter = new TwitterPublisher(proxy);
    Element fixed = TestUtil.createFixedBuild();
    twitter.publish(fixed);
    assertEquals("someproject fixed", proxy.status);
}