fibe_story Pub

Let's expect two messages, to create a sub and activate fib100 product

send::  msg account.create  (name<-"Jane", address<-"12 Greenbriar, Aurora")

expect::  subDb.create (name, address)
expect::  (subId ~= "sub[0-9]*")
expect::  billing.notifyNewAccount (name, address)

Now a separate message adds the product

send::  msg fibe100.activate  (actId:Number<-123, name<-"Jane", address<-"12 Greenbriar, Aurora")

expect::  modem.configure (qos == "100m")
expect::  email.create (email == "Jane@rogers.com", size == "10m")
expect::  billing.notifyAddProduct (actId, rateCode == "fibe100")


Was this useful?    

By: Razie | 2016-08-24 .. 2017-05-01 | Tags: story , dsl , fibe


Viewed 115 times ( | Print ) this page.

You need to log in to post a comment!

© Copyright DieselApps, 2012-2020, all rights reserved.