コード例 #1
0
ファイル: TestTrackSimulator.cs プロジェクト: mat0pad/SWT-ATM
        public void StartSimulationNotReceived()
        {
            simulator.StartSimulation();

            mapper.DidNotReceiveWithAnyArgs().MapTrack(new List <string> {
                "test"
            });
        }
コード例 #2
0
        public void SimulationSetupOnDataReceive()
        {
            simulator.StartSimulation();

            Thread.Sleep(10000); // Bad should instead await first until MapTrack called

            mapper.ReceivedWithAnyArgs().MapTrack(null);
        }