I would create 2 tests for this:

testContainsKey_whenKeyExists
testContainsKey_whenKeyDoesNotExist