```ruby
expect(obj).to be_a(Ridley::NodeObjecT)
expect(object).to have(2).nodes
```