Example #1
0
        public void Create_InvalidPluginFile_ThrowsExpectedExceptionWithResourceString()
        {
            var hostCmdStub    = new StubHostCommandStub();
            var notaPluginFile = Assembly.GetExecutingAssembly().Location;

            VstPluginContext.Create(notaPluginFile, hostCmdStub);
        }
        public void Create_InvalidPluginFile_ThrowsExpectedException()
        {
            var hostCmdStub    = new StubHostCommandStub();
            var notaPluginFile = Assembly.GetExecutingAssembly().Location;

            Action target = () => VstPluginContext.Create(notaPluginFile, hostCmdStub);

            target.Should().Throw <EntryPointNotFoundException>();
        }