describe('registerAction', () => {
    test('should set up new action', () => {
      const instance = new Reducer();
      instance.registerAction('fn', 'method');
      expect(instance.actions).toEqual({ method: 'fn' });