@Test
public void messageShouldBeBuildFailure() throws CruiseControlException {

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