simple-command-bus
Version:
Simple Command Bus
11 lines (9 loc) • 368 B
JavaScript
/* global it, describe */
import { expect } from 'chai';
import MethodNameInflector from '../../../src/handler/MethodNameInflector/MethodNameInflector';
describe('Testing Abstract MethodNameInflector', () => {
it('Abstract instance thrown an error', () => {
const inflector = new MethodNameInflector();
expect(() => inflector.inflect(null)).to.throw();
});
});