Determines which language to use to generate an assembly info file
 public void EnsureVisualBasicLanguageBuildsProperly()
 {
     var mock = MockRepository.GenerateStub<IActionExcecutor>();
     var subject = new AssemblyInfoLanguage(mock);
     Action<IAssemblyInfoDetails> action = x => x.OutputPath("c:\test.cs");
     subject.VisualBasic(action);
     mock.AssertWasCalled(x => x.Execute(Arg<Action<AssemblyInfoDetails>>.Is.Equal(action), Arg<VisualBasicAssemblyInfoBuilder>.Is.Anything));
 }
        public void EnsureVisualBasicLanguageBuildsProperly()
        {
            var mock    = MockRepository.GenerateStub <IActionExcecutor>();
            var subject = new AssemblyInfoLanguage(mock);
            Action <IAssemblyInfoDetails> action = x => x.OutputPath("c:\test.cs");

            subject.VisualBasic(action);
            mock.AssertWasCalled(x => x.Execute(Arg <Action <AssemblyInfoDetails> > .Is.Equal(action), Arg <VisualBasicAssemblyInfoBuilder> .Is.Anything));
        }