public void ServerStatCommand_Verify_1() { Mock <IIrbisConnection> mock = GetConnectionMock(); IIrbisConnection connection = mock.Object; ServerStatCommand command = new ServerStatCommand(connection); Assert.IsTrue(command.Verify(false)); }
public void ServerStatCommand_Construciton_1() { Mock <IIrbisConnection> mock = GetConnectionMock(); IIrbisConnection connection = mock.Object; ServerStatCommand command = new ServerStatCommand(connection); Assert.AreSame(connection, command.Connection); }