@@ -0,0 +1,1805 @@
+package com.consol.citrus.simulator.http;%0A%0Aimport java.io.IOException;%0Aimport java.nio.charset.Charset;%0A%0Aimport com.consol.citrus.http.controller.HttpMessageController;%0Aimport org.springframework.http.MediaType;%0Aimport org.springframework.mock.http.MockHttpInputMessage;%0Aimport org.springframework.mock.http.MockHttpOutputMessage;%0Aimport org.testng.Assert;%0Aimport org.testng.annotations.Test;%0A%0A/**%0A * @author Christoph Deppisch%0A */%0Apublic class SimulatorHttpMessageConverterTest %7B%0A%0A    private SimulatorHttpMessageConverter converter = new SimulatorHttpMessageConverter();%0A%0A    @Test%0A    public void testSimulatorMessageConverter() throws IOException %7B%0A        Assert.assertFalse(converter.canRead(Object.class, Object.class, MediaType.ALL));%0A        Assert.assertFalse(converter.canRead(Object.class, MediaType.ALL));%0A        Assert.assertFalse(converter.canWrite(Object.class, Object.class, MediaType.ALL));%0A        Assert.assertFalse(converter.canWrite(Object.class, MediaType.ALL));%0A%0A        Assert.assertEquals(converter.read(String.class, HttpMessageController.class, new MockHttpInputMessage(%22Hello%22.getBytes(Charset.forName(%22UTF-8%22)))), %22Hello%22);%0A    %7D%0A%0A    @Test(expectedExceptions = IllegalStateException.class)%0A    public void testUnsupportedRead() throws IOException %7B%0A        converter.read(Object.class, new MockHttpInputMessage(%22Hello%22.getBytes(Charset.forName(%22UTF-8%22))));%0A    %7D%0A%0A    @Test(expectedExceptions = IllegalStateException.class)%0A    public void testUnsupportedWrite() %7B%0A        converter.write(%22Hello%22, MediaType.TEXT_PLAIN, new MockHttpOutputMessage());%0A    %7D%0A%0A    @Test(expectedExceptions = IllegalStateException.class)%0A    public void testUnsupportedGenericWrite() %7B%0A        converter.write(%22Hello%22, String.class, MediaType.TEXT_PLAIN, new MockHttpOutputMessage());%0A    %7D%0A%0A%7D%0A

Add unit test for new classes