예제 #1
0
        public void NotBeEquivalentTo_UseRuntimeType()
        {
            // Per default [Not]BeEquivalentTo uses the compile-time type of the expectation argument,
            // i.e. here it uses the members of ISuperComputer.

            // Arrange
            ISuperComputer expected = new Hal();

            // Act
            ISuperComputer computer = GetSuperComputer();

            // Assert
            throw new NotImplementedException();
        }
예제 #2
0
 public HitchhikerGuideToTheGalaxy(ISuperComputer superComputer)
 {
     _superComputer = superComputer;
 }