optionalProviderKeyMatch = true;
} else if (key != null && key.equals(sourceMapKey)) {
assertTrue(contains);
mapBindingMatch = true;
// Validate that this binding is also a MapBinding.
assertEquals(mapbinderBinding, b.acceptTargetVisitor(visitor));
} else if (key != null && key.equals(defaultKey)) {
assertTrue(contains);
if (b != null) { // otherwise it might just be a ProviderLookup into it
assertTrue("expected: " + expectedDefault + ", but was: " + b,
matches(b, expectedDefault));