blob: dbd7ea81f67cebabc39cef1e5a63c371b1dd360a [file] [log] [blame]
// Copyright 2018 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package main
import (
"context"
"fidl/fidl/test/after"
)
type client_after struct {
addMethod *after.AddMethodWithCtxInterface
removeMethod *after.RemoveMethodWithCtxInterface
addEvent *after.AddEventWithCtxInterface
removeEvent *after.RemoveEventWithCtxInterface
}
func (c client_after) callAllMethodsExpectAllEvents() {
c.addMethod.ExistingMethod(context.Background())
c.removeMethod.ExistingMethod(context.Background())
c.addMethod.NewMethod(context.Background())
_ = c.addEvent.ExpectNewEvent(context.Background())
}