import { select{{ properCase name }}, selectSomePayLoad } from '../selectors';

describe('{{ properCase name }} selector tests', () => {
  const mockedState = {
      {{ camelCase name }}: {
        somePayLoad: "W.S"
      }
    }

  it('should select the {{ camelCase name }} state', () => {
    const {{ camelCase name }}Selector = select{{ properCase name }}();
    expect({{ camelCase name }}Selector(mockedState)).toEqual(mockedState.{{ camelCase name }});
  });

  it('should select the somePayLoad state', () => {
    const somePayLoadSelector = selectSomePayLoad();
    expect(somePayLoadSelector(mockedState)).toEqual(mockedState.{{ camelCase name }}.somePayLoad);
  });
})