blob: 46d34f2b1d6fc27e2ea64b780a4ef8f46e56b7c4 [file] [log] [blame]
// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
/// @assertion Stream<T> stream
/// The stream that this controller is controlling.
/// @description Checks the property value is of type Stream.
/// @author kaigorodov
import "dart:async";
import "../../../Utils/expect.dart";
main() {
StreamController controller = new StreamController();
var stream =;
Expect.isTrue(stream is Stream);