using the map method for AllExpectations so that it can be used in acceptance specs
inheriting from BaseMatcher in Hamcrest to be able to use beNull on null values. fixes #218