コード例 #1
0
        public void Should_leverage_task_to_retrieve_all_available_slips_on_initialize( )
        {
            using (mockery.Record( )) {
                Expect.Call(mockTask.GetAllAvailableSlips( )).Return(null);
            }

            using (mockery.Playback( )) {
                CreateSUT( ).Initialize( );
            }
        }
コード例 #2
0
 public void Initialize()
 {
     view.Display(task.GetAllAvailableSlips( ));
 }