public void Default_library_is_loaded() { // This test project has a reference to Stormpath.SDK.JsonNetSerializer, so the file lookup will succeed var foundType = DefaultSerializerLoader.Load(); foundType.ShouldNotBeNull(); }
public void Constructs_instance_from_default_library() { ISerializerBuilder builder = new AbstractSerializerBuilder <IJsonSerializer>(DefaultSerializerLoader.Load()); var instance = builder.Build(); instance.ShouldNotBeNull(); }