public void AddNewMethodTest() { TransferFactory.AddNewMethod<FileTransfer>("test"); IFileTransfer expected = new FileTransfer(); var actual = TransferFactory.Create("test"); Assert.AreSame(expected.GetType(), actual.GetType()); }
public void CreateTest() { var expected = new FileTransfer(); // TODO: Initialize to an appropriate value var actual = TransferFactory.Create(); Assert.AreSame(expected.GetType(), actual.GetType()); }