This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM resin/raspberrypi3-debian:jessie | |
ENV INITSYSTEM on | |
# Add the key for foundation repository | |
RUN apt-get update | |
RUN apt-get install wget | |
RUN wget http://archive.raspberrypi.org/debian/raspberrypi.gpg.key -O - | sudo apt-key add - |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Test] | |
public void ShouldCallBaseImplementationForVirtualMember() | |
{ | |
var testClass = Substitute.ForPartsOf<TestClass>(); | |
testClass.VoidVirtualMethod(); | |
testClass.VoidVirtualMethod(); | |
testClass.VoidVirtualMethod(); | |
Assert.That(testClass.CalledTimes, Is.EqualTo(3)); | |
} | |
NewerOlder