Пример #1
0
        public void Render_should_call_objectWriter_start_method()
        {
            Mock <TextWriter> writer = new Mock <TextWriter>();

            TabStripTestHelper.clientSideObjectWriter.Setup(ow => ow.Start()).Verifiable();

            tabStrip.WriteInitializationScript(writer.Object);

            TabStripTestHelper.clientSideObjectWriter.Verify(ow => ow.Start());
        }