@Test
public void testDeleteScope() {

    final DataModel data = new EcmaScriptDataModel();
    Assert.assertEquals(DataModel.NO_ERROR, data.createScope());
    Assert.assertEquals(DataModel.NO_ERROR, data.createScope());
    Assert.assertEquals(DataModel.NO_ERROR, data.deleteScope());
    Assert.assertEquals(DataModel.NO_ERROR, data.deleteScope());
    Assert.assertEquals(DataModel.ERROR_SCOPE_NOT_FOUND,
            data.deleteScope());
}