Skip to content

Odd Issue with Microsoft.EntityFrameworkCore.Metadata.INavigation #188

@JasonBock

Description

@JasonBock

Doing this with EntityFramework:

using Microsoft.EntityFrameworkCore.Metadata;
using Rocks;
using System;

public static class Test
{
	public static void Go()
	{
		var expectations = Rock.Create<INavigation>();
	}
}

Results in some very wrong mock code. I don't know what the exact problem is right now, but this interface is definitely giving Rocks fits. Note that IConventionProperty yields similar results.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions