Open drewbourne opened 13 years ago
Something like:
mocks.addConstructorOverrideFor(NetStream, function(netStreamClass:Class, constructorArgs:Array):NetStream { var netConnection:NetConnection = new NetConnection(); netConnection.connect(null); return new netStreamClass(netConnection) });
Something like: