@Test
public void testMarshalNestedMap() {

    Map<String, Object> outerMap = new HashMap<String, Object>();
    outerMap.put("Foo", this.data);
    this.mapConverter.marshal(outerMap, this.writerMock, null);
    Mockito.verify(this.writerMock).startNode("Foo");
    Mockito.verify(this.writerMock).startNode("ONE");
    Mockito.verify(this.writerMock).setValue("1.0");
    Mockito.verify(this.writerMock).startNode("TWO");
    Mockito.verify(this.writerMock).setValue("2");
    Mockito.verify(this.writerMock).startNode("THREE");
    Mockito.verify(this.writerMock).setValue(null);
    Mockito.verify(this.writerMock, Mockito.times(4)).endNode();
}