1// Copyright 2013 The Flutter Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5#import <OCMock/OCMock.h> 6#import <XCTest/XCTest.h> 7#import "flutter/shell/platform/darwin/ios/framework/Source/FlutterEngine_Internal.h" 8 9@interface FlutteEngineTest : XCTestCase 10@end 11 12@implementation FlutteEngineTest 13 14- (void)setUp { 15} 16 17- (void)tearDown { 18} 19 20- (void)testCreate { 21 id project = OCMClassMock([FlutterDartProject class]); 22 FlutterEngine* engine = [[[FlutterEngine alloc] initWithName:@"foobar" 23 project:project] autorelease]; 24 XCTAssertNotNil(engine); 25} 26 27@end 28