public < K > void assertDoesNotContainKey ( Description description , Map < ? , ? > actual , K key ) { assertNotNull ( description , actual ) ; if ( actual . containsKey ( key ) ) { throw failures . failure ( description , shouldNotContainKey ( actual , key ) ) ; } }
Asserts that the actual map not contains the given key .