//
//  Copyright © 2019 Essential Developer. All rights reserved.
//

import XCTest
import EssentialFeed

class FeedImagePresenterTests: XCTestCase {

	func test_map_createViewModel() {
		let image = uniqueImage()

		let viewModel = FeedImagePresenter.map(image)

		XCTAssertEqual(viewModel.description, image.description)
		XCTAssertEqual(viewModel.location, image.location)
	}

}
