Example #1
0
 public void CanCreateStorage()
 {
     scriptRunner.Execute("this.Storage = require('storage');");
     storage = scriptRunner.Execute("new Storage()") as StorageInstance;
     storage.Should().Not.Be.Null();
 }
Example #2
0
 public void CanCreateAbsolutePositionedStorage()
 {
     scriptRunner.Execute("this.Storage = require('storage');");
     storage = scriptRunner.Execute("new Storage('egrss', true)") as StorageInstance;
     storage.Should().Not.Be.Null();
 }