import { assertObjectIsAtLeastObject } from './assertObjectIsAtLeastObject' ; import { assertObjectIsAtMostObject } from './assertObjectIsAtMostObject' ; import { assertObjectIsEmpty } from './assertObjectIsEmpty' ; import { assertObjectIsInstanceOfClass } from './assertObjectIsInstanceOfClass' ; import { assertObjectIsNotAtLeastObject } from './assertObjectIsNotAtLeastObject' ; import { assertObjectIsNotAtMostObject } from './assertObjectIsNotAtMostObject' ; import { assertObjectIsNotEmpty } from './assertObjectIsNotEmpty' ; import { assertObjectIsNotInstanceOfClass } from './assertObjectIsNotInstanceOfClass' ; import { ObjectAssertions } from './ObjectAssertions' ; import { report } from '../../report' ; const getAssertionsForObject = function ( actual ) : ObjectAssertions { return { atLeast ( expected ) { report ( assertObjectIsAtLeastObject ( actual , expected ) ) ; } , atMost ( expected ) { report ( assertObjectIsAtMostObject ( actual , expected ) ) ; } , instanceOf ( expected ) { report ( assertObjectIsInstanceOfClass ( actual , expected ) ) ; } , empty ( ) { report ( assertObjectIsEmpty ( actual ) ) ; } } ; } ; const getNegatedAssertionsForObject = function ( actual ) : ObjectAssertions { return { atLeast ( expected ) { report ( assertObjectIsNotAtLeastObject ( actual , expected ) ) ; } , atMost ( expected ) { report ( assertObjectIsNotAtMostObject ( actual , expected ) ) ; } , instanceOf ( expected ) { report ( assertObjectIsNotInstanceOfClass ( actual , expected ) ) ; } , empty ( ) { report ( assertObjectIsNotEmpty ( actual ) ) ; } } ; } ; export { getAssertionsForObject , getNegatedAssertionsForObject } ;