import { BillDate } from './bill-date' ; describe ( 'Bill Date' , ( ) => { const newDate = new Date ( '2019-11-8T16:52:50' ) ; it ( 'should be created with the value' , ( ) => { const vo = BillDate . fromDate ( newDate ) ; expect ( vo . value ) . toBe ( newDate ) ; } ) ; } ) ;