private static IPower RegisterDependencies() { //In a real project, this part must be with dependency injection using decorators... BatmanPower batman = new BatmanPower(null); HulkPower hulk = new HulkPower(batman); FlashPower flash = new FlashPower(hulk); return(flash); }
public HulkPowerTest() { _powerTest = new HulkPower(null); _context = new PowerContext(); }