@Test
public void resolvesSingletonMessageBodyWriter() {

    MessageBodyWriter<String> messageBodyWriter = new StringEntityProvider();
    componentResolver.addSingleton(messageBodyWriter);
    verify(providers).addMessageBodyWriter(messageBodyWriter);
}