Fixed unsatisfying unittest by using advice of: https://github.com/padraic/mockery/issues/220