public void Dispose() { mockRepo = null; realProfile = null; configuration = null; mapper = null; }
public ArtifactControllerTests() { mockRepo = new Mock <IArtifactRepo>(); realProfile = new ArtifactsProfile(); configuration = new MapperConfiguration(cfg => cfg.AddProfile(realProfile)); mapper = new Mapper(configuration); }