The second way is usually referring to as "fakes", which are not a type of mocks but a (better) alternative to mocks.