Class: Class

Inherits:
Object show all
Defined in:
lib/synthesis/class.rb

Instance Method Summary collapse

Instance Method Details

#expectation(method, track, args = [], return_value = nil) ⇒ Object



2
3
4
# File 'lib/synthesis/class.rb', line 2

def expectation(method, track, args = [], return_value = nil)
  Synthesis::Expectation::Singleton.new(self, method, track, args, return_value)
end