You're unable to fake static methods using 'FakeItEasy' (extensions methods too because they are static also) if you need logic like this you need to think about 'proxy pattern' or using 'Typemock Isolator'