public void AddCodeBlock_GivenWhiteSpaceCodeBlock_Ignores()
        {
            var sut = new RazorJSTemplateBuilder(this._templateCollection.Object, this._helperCollection.Object);

            sut.AddCodeBlock("  ");

            this._templateCollection.Verify(t => t.Add(It.IsAny <string>()), Times.Never());
        }
        public void AddCodeBlock_GivenCodeBlock_AddsToCollection()
        {
            var sut = new RazorJSTemplateBuilder(this._templateCollection.Object, this._helperCollection.Object);

            string expected = "a";

            sut.AddCodeBlock(expected);

            this._templateCollection.Verify(t => t.Add(expected));
        }