/// <summary> /// Exercise mock server /// </summary> public void given_data_is_being_sent_and_received_to_the_server() { var mock = new PretendsToBeConnectedToHttpClient(); var proxy = new ConfigurationProxy(mock); it["then its possible to submit valid configuration"] = () => { var result = proxy.Store(_serializationTarget); result[StatusKey.Status].should_be(StatusCode.Ok); }; it["then the original object is retrieved on get"] = () => proxy.Retrieve().should_be(_serializationTarget); }