fix for #274

builds on https://github.com/FakeItEasy/FakeItEasy/pull/313

fixes #274