void when_applying_in_a_non_writable_region()
{
act = () => new MemoryPageProtector(new Win32Implementation(), buffer, (IntPtr)4)
.ExecuteWithProtection(MemoryProtectionConstraints.PAGE_EXECUTE_READ, patch.Apply);
it["should replace nevertheless"] = () => memory.ReadBytes(buffer, 4).should_be(replaceWith);
it["should be applied"] = () => patch.IsApplied.should_be_true();
}