public void SetUp() { var factory = new PomonaJsonSerializerFactory(new ClientSerializationContextProvider(this.clientTypeMapper, Substitute.For<IPomonaClient>())); this.deserializer = factory.GetDeserializer(); }
public void SetUp() { var factory = new PomonaJsonSerializerFactory(); var pomonaClient = Substitute.For <IPomonaClient>(); this.deserializer = factory.GetDeserializer(new ClientSerializationContextProvider(this.clientTypeMapper, pomonaClient, pomonaClient)); }