NestedClass will be found via Class::NestedClass and ClassTypedef::NestedClass. So the first part of the test gets 2 results as the default is to find all matching types. In the next part, we ask for only the first match and expect to get only 1 of those two possible results.