class TestCase::Destructor {
  use TestCase::Minimal;
  
  has minimal : public TestCase::Minimal;
  
  static method new : TestCase::Destructor () {
    return new TestCase::Destructor;
  }
  
  method DESTROY : void () {
    $self->{minimal}->{x} = 3;
  }
}